vcAssemblyPattern

Assembly pattern is a collection of assembly slots, which form a reusable definition of which product types should be placed in which position and orientation in the assembly. Note that assembly patterns can also exist independently from assembly product types.

See in: Overview

Module: vcProcessModel

Parent: vcObject

Children -

Referenced by: vcAssemblyPatternManager.Patterns, vcAssemblyPatternManager.clonePattern(), vcAssemblyPatternManager.createPattern(), vcAssemblyPatternManager.findPattern(), ... (see more)
vcAssemblyPatternManager.Patterns
vcAssemblyPatternManager.clonePattern()
vcAssemblyPatternManager.createPattern()
vcAssemblyPatternManager.findPattern()
vcAssemblyPatternSlot.Pattern
vcAssemblyStep.Pattern

Properties

Learn how to use properties here. The properties are also inherited from the parent class.

NameTypeAccessDescription
NameStringRWGets or sets assembly pattern name.

Exceptions:
ValueError: When given name is empty or not unique.
PropertiesvcPropertyContainerRGets the properties of this assembly pattern.
SlotsvcObservableList[vcAssemblyPatternSlot]RGets the list of all slots associated with this pattern.
UniqueIdStringRGets the unique identifier for this assembly pattern.

Methods

Learn how to use methods here. The methods are also inherited from the parent class.

NameReturn TypeParametersDescription
cloneSlotFromvcAssemblyPatternSlotvcAssemblyPatternSlot slot,
Optional Keyword[index = Integer]
Creates a copy of given slot.
See more
Parameters:
slot (vcAssemblyPatternSlot): The slot to clone.
Optional: index (Integer): Index for the slot to be created.
If index is specified outside of valid indexes or not specified at all,
the slot is appended to the existing ones.

Returns:
vcAssemblyPatternSlot: The newly created slot.
createSlotvcAssemblyPatternSlotOptional Keyword[index = Integer]Creates a new slot.
See more
Parameters:
Optional: index (Integer): Index for the slot to be created.
If index is specified outside of valid indexes or not specified at all,
the slot is appended to the existing ones.

Returns:
vcAssemblyPatternSlot: The newly created slot.
deleteNoneNoneDeletes this assembly pattern.
findSlotvcAssemblyPatternSlotString idFinds a slot from the pattern with the given Id.
See more
Parameters:
id (String): Unique Id of the slot.

Returns:
vcAssemblyPatternSlot: The found slot, returns None if nothing was found.